package com.bonuo.crm.mapper;

import com.bonuo.crm.domain.Device;

import java.math.BigDecimal;
import java.util.List;

public interface DeviceMapper {
    List<Device> selectDeviceList(Device device);

    Integer insertDevice(Device device);

    Integer deleteDeviceById(Integer id);

    Integer updateDevice(Device device);

    Integer selectDeviceByProjectId(Integer id);

    BigDecimal selectAmount(Device device);

    BigDecimal selectBidAmount(Integer projectId);
}
